

export type Numberable = number |undefined

export interface CategoryModel {
  id:number;
  name:string;
}

export interface CategoryIdsModel {
  category1Id:Numberable;
  category2Id:Numberable;
  category3Id:Numberable;

  
}

export type CategoryListModel = CategoryModel[]

// 定义一个约束分类数据的接口  并继承自另一个接口
export interface CategoryStateModel extends CategoryIdsModel {
  category1List:CategoryListModel;
  category2List:CategoryListModel;
  category3List:CategoryListModel;
}